package com.itheima.d6_string;

/**
 * @author Dushaohua
 * @date 2024/4/17 10:09
 */
public class Phone {
    public String ecrypt(String phoneNumber){
        String qian = phoneNumber.substring(0, 3);
        String hou = phoneNumber.substring(7);
        String result = qian + "****" + hou;
        return result;
    }
}
